<template>
    <dv-capsule-chart  ref="dataV" style="width: 100%; height: 100%"  :config="dynamicData.config" />
</template>

<script>
    import mixin from './mixin'
    export default {
        mixins:[new mixin()],
        name: "capsuleChart",
        data() {
            return {
                interfaceAttrs: {
                    config: {
                        type: 'Object',
                        name: '标题',
                        default:{ data: [
                                {name: '南阳', value: 167},
                                {name: '周口', value: 123},
                                {name: '漯河', value: 98},
                                {name: '郑州', value: 75},
                                {name: '西峡', value: 66},
                            ],
                            colors: ['#e062ae', '#fb7293', '#e690d1', '#32c5e9', '#96bfff'],
                            unit: '单位'
                        },
                    }
                },
            }
        },
    }
</script>

<style scoped>

</style>
